package com.shujia;

import java.sql.Connection;

public class Code10GetConnPool {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            Connection conn = ConnectPool.getConn();
            System.out.println(conn);
            ConnectPool.setConn(conn);
        }
        Connection conn_other = ConnectPool.getConn();
        System.out.println("conn_other:"+conn_other);

    }
}
